﻿CREATE PROCEDURE [dbo].[ETL_SP_GetDtService]
	@dtSerId uniqueidentifier
AS
	SELECT
		DS.*,
		[dbo].ETL_Func_GetMappedDtSourceCount(DS.Id) as MappedCount,
		[dbo].ETL_Func_GetUnmappedDtSourceCount(DS.Id) as UnmappedCount
	FROM ETL_DtSer as DS
	WHERE
		DS.Id=@dtSerId
RETURN 0
